import axios from 'axios';
import { loginreq, req } from './axiosFun';

/**
 * 维修管理
 **/
// 维修管理-分页
export const repairUrgencyList = (params) => { return req("post", "/api/urgency/list/page", params) };

// 维修管理-添加
export const repairUrgencySave = (params) => { return req("post", "/api/urgency/save", params) };
// 维修管理-修改
export const repairUrgencyEdit = (params) => { return req("post", "/api/urgency/edit", params) };

// 维修管理-删除
export const repairUrgencyDelete = (params) => { return axios.delete("/api/urgency/del/" + params).then(res => res.data) };
// 维修管理-状态
export const repairUrgencyStatus = (params) => { return req("post", "/api/urgency/edit", params) };
// 维修管理-批量
export const repairUrgencyBatchDel = (params) => { return req("post", "/api/urgency/del/batch", params) };

